<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="<?php echo get_setting('Meta Description'); ?>" />
	<meta name="keywords" content="<?php echo get_setting('Meta Keywords'); ?>" />
	<meta name="author" content="<?php echo get_setting('Author'); ?>" />
	<link rel="stylesheet" type="text/css" href="<?php echo $theme_url; ?>1024px.css" title="1024px" media="screen,projection" />
	<title><?php echo page_menu_title(); ?><?php echo bread_crumbs(' &raquo; ', true); ?><?php echo get_setting('Site Name'); ?></title>
	<?php plugin('styles'); ?>
	<?php plugin('scripts'); ?>
</head>

<body>
<div id="wrap">

	<div id="header">
		<p id="toplinks">Skip to: <a href="#content">Content</a> | <a href="#sidebar">Navigation</a> | <a href="#footer">Footer</a></p>
		<h1><a href="<?php echo $base_url; ?>"><?php echo get_setting('Site Name'); ?><span class="fade"> by <?php echo get_setting('Author'); ?></span></a></h1>
		<p id="slogan"><?php echo get_setting('Slogan'); ?></p>
	</div>

	<div id="content">
		<h2><?php echo page_title(); ?></h2>
			<?php echo page_content(); ?>
                <br class='clear' />
                <br class='clear' />
	</div>

	<div id="sidebar">
		<?php echo sidebar('%s','<h2>%1$s</h2>%2$s', array("\n<ul id='nav'>\n%s\n</ul>\n"), array("\n<ul id='second-nav'>\n%s\n</ul>\n")); ?>
	</div>

	<div id="footer">
		<p><?php echo get_setting('Footer'); ?></p>
		<p><a href="<?php echo $base_url; ?>admin.php?login=true">admin</a> | Original design by <a href="http://andreasviklund.com/">Andreas Viklund</a>. <span class="powered-generated-by"><?php echo get_setting('Powered By'); ?> generated this page in <?php echo $page_generation_time; ?> seconds.</span></p>
	</div>

</div>
</body>
</html>
